package com.tencent.wepay.protocol.pay.domain;

import com.tencent.wepay.constant.enums.TradeTypeEnum;


public class JSAPIOrder extends BaseOrder{
	private String openid;
	public JSAPIOrder() {
		setDeviceInfo("WEB");
		setTradeType(TradeTypeEnum.JSAPI);
	}
	public JSAPIOrder(String openid,String body,String tradeNo,int amount,String notifyUrl){
		this.openid=openid;
		setBody(body);
		setTradeNo(tradeNo);
		setAmount(amount);
		setNotifyUrl(notifyUrl);
		setTradeType(TradeTypeEnum.JSAPI);
		setDeviceInfo("WEB");
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
}
